#define _CRT_SECURE_NO_WARNINGS 1
#include <stdio.h>
#include <string.h>
int main()
{
    char a[20] = { 0 }, b[20] = { 0 };
    int i = 0, n = 0,m=0;
    gets(a);
    n = strlen(a);
    for (i = 0; i < n; i++)
    {
        if (a[i] % 2 != 0)printf("%d", a[i]-'0');
        else
        {
            b[m] = a[i];
            m++;
        }
    }
    for (i = 0; i < m; i++)
    {
        printf("%d", b[i]-'0');
    }

    return 0;
}